﻿<Window x:Class="DaphneForms.GameSaveForm"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:ignore="http://www.ignore.com"
        xmlns:loc="http://schemas.tomer.com/winfx/2006/xaml/presentation"
        mc:Ignorable="d ignore"       
        Width="300" Height="280" loc:Translate.Uid="wndSaveGame" Title="{loc:Translate}"
        WindowStartupLocation="CenterOwner" ResizeMode="NoResize" WindowStyle="ToolWindow"
        >
    <Grid>
        <StackPanel Orientation="Vertical">
            <TextBlock loc:Translate.Uid="sgIntro" Text="{loc:Translate}"  Margin="3,3,3,10" />
            <GroupBox Margin="3">
                <StackPanel Orientation="Vertical">
                    <Button loc:Translate.Uid="sgButtonYes" Content="{loc:Translate Default=Yes}" Width="150" Margin="3,10,3,3" Command="{Binding Path=Yes}" />
                    <GroupBox Margin="5">
                        <StackPanel Orientation="Vertical">
                            <RadioButton loc:Translate.Uid="sgSaveToLib" Content="{loc:Translate}" GroupName="PDNSaveGame" Margin="3" IsChecked="{Binding Path=AppendToLibrary, Mode=TwoWay}"/>
                            <RadioButton loc:Translate.Uid="sgSaveToFile" Content="{loc:Translate}" GroupName="PDNSaveGame" Margin="3" IsChecked="{Binding Path=SaveToFile, Mode=TwoWay}"/>
                        </StackPanel>
                    </GroupBox>                    
                </StackPanel>    
            </GroupBox>
            <GroupBox Margin="3">
                <StackPanel Orientation="Vertical">
                    <TextBlock loc:Translate.Uid="sgDontSaveText" Text="{loc:Translate}"  Margin="3" HorizontalAlignment="Center"/>
                    <Button loc:Translate.Uid="sgButtonNo" Content="{loc:Translate Default=No}" Margin="3" Width="150" Command="{Binding Path=No}" />                    
                </StackPanel>
            </GroupBox>
            <GroupBox Margin="3">
                <StackPanel Orientation="Vertical">
                    <Button loc:Translate.Uid="sgCancelButton" Width="150" Content="{loc:Translate Default=Cancel}" Margin="3,10,3,3" Command="{Binding Path=Cancel}" />                    
                </StackPanel>
            </GroupBox>
        </StackPanel>                   
    </Grid>
</Window>
